﻿<Window x:Class="Bravura.Editing.SynthEditor.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:ctls="clr-namespace:Bravura.Editing.Common.Controls;assembly=Editing.Common" 
		Title="Bravura Synth Editor" Width="750" Height="600"
		WindowStartupLocation="CenterScreen" ResizeMode="CanResizeWithGrip">
	<DockPanel>
		<Menu DockPanel.Dock="Top">
			<MenuItem Header="File">
				<MenuItem Name="MenuFileNew" Header="New..." Tag="FileNew" Click="MenuItem_Click" />
				<MenuItem Name="MenuFileOpen" Header="Open..." Tag="FileOpen" Click="MenuItem_Click" />
				<MenuItem Name="MenuFileSave" Header="Save" Tag="FileSave" Click="MenuItem_Click" />
				<MenuItem Name="MenuFileSaveAs" Header="Save As..." Tag="FileSaveAs" Click="MenuItem_Click" />
				<MenuItem Name="MenuFileClose" Header="Close" Tag="FileClose" Click="MenuItem_Click" />
				<Separator />
				<MenuItem Header="Preferences..." Tag="FilePrefs" Click="MenuItem_Click" />
				<Separator />
				<MenuItem Header="Exit"  Tag="FileExit" Click="MenuItem_Click" />
			</MenuItem>
			<MenuItem Name="MenuModel" Header="Model">
				<MenuItem Header="Information..." Tag="ModelInfo" Click="MenuItem_Click" />
				<Separator />
				<MenuItem Header="Add..." Tag="ModelAdd" Click="MenuItem_Click" />
				<MenuItem Header="Remove..." Tag="ModelDel" Click="MenuItem_Click" />
				<Separator />
				<MenuItem Header="Route Mono Out to Mono In" Tag="ModelRoute1M1M" Click="MenuItem_Click" />
				<MenuItem Header="Route Stereo Out to Stereo In" Tag="ModelRoute1S1S" Click="MenuItem_Click" />
				<MenuItem Header="Route 1 Stereo Out to 2 Mono Ins" Tag="ModelRoute1S2M" Click="MenuItem_Click" />
				<MenuItem Header="Route 2 Mono Outs to 1 Stereo In" Tag="ModelRoute2M1S" Click="MenuItem_Click" />
				<MenuItem Header="Manage Connections..." Tag="ModelManageConns" Click="MenuItem_Click" />
				<MenuItem Header="Disconnect" Tag="ModelDisconn" Click="MenuItem_Click" />
				<Separator />
				<MenuItem Header="Test" Tag="ModelTest" Click="MenuItem_Click" />
			</MenuItem>
			<MenuItem Header="Help">
				<MenuItem Header="View Help Site" Tag="HelpViewHelp" Click="MenuItem_Click" />
				<Separator />
				<MenuItem Header="About..." Tag="HelpAbout" Click="MenuItem_Click" />
			</MenuItem>
		</Menu>
		<StatusBar DockPanel.Dock="Bottom">
			<StatusBarItem HorizontalContentAlignment="Center">
				<Label Name="StatusLabel" Content=" " />
			</StatusBarItem>
		</StatusBar>
		<ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible">
			<ctls:SelectionGrid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
				<ctls:WorkGrid Name="WorkGrid" CellsWide="5" CellsHigh="5">
				</ctls:WorkGrid>
			</ctls:SelectionGrid>
		</ScrollViewer>
	</DockPanel>
</Window>
